<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
  
  .table apple:last-child ,.table orange:last-child{
color: aqua;
  }


    </style>
</head>
<body>
    <div class="table">
       
        <orange class="small" >1</orange>
        <orange class="small" >2</orange>
        <pickle>3 </pickle>
        <pickle > 4</pickle>
        <apple class="small" > 5</apple>
        <apple class="small" >6 </apple>
    </div>
</body>
</html>